package vn.nt.healthcare.server.ws.util;

import java.util.List;

import vn.nt.healthcare.server.ws.domain.Company;
import vn.nt.healthcare.server.ws.domain.Location;
import vn.nt.healthcare.server.ws.model.CompanyInfo;

public abstract class CompanyUtil {

	public static CompanyInfo initCompanyInfo(List<Location> location, Company company) {
		CompanyInfo info = new CompanyInfo();
		info.setCode(company.getCode());
		info.setName(company.getName());
		info.setEstablishDate(company.getEstablishDate());
		info.setDesc(company.getDescription());
		info.setPhone(company.getPhone());
		info.setLogo(company.getLogo());
		// info.setAddress("");
		// info.setGeo_B(location.getGeo_B());
		// info.setGeo_L(location.getGeo_L());
		return info;
	}
}
